package com.qianfeng.openapi.web.master.pojo;


import lombok.Data;

@Data
public class AdminUser {

    private Integer id;
    private String password;
    private String email;
    private String realName;
    private Integer status;



    @Override
    public boolean equals(Object obj) {
        AdminUser adminUser = null;
        if (obj instanceof AdminUser) {
            adminUser = (AdminUser) obj;
        }
        if (adminUser != null) {
            if (adminUser.getEmail().equals(this.getEmail()) &&
                    adminUser.getPassword().equals(this.getPassword())) {
                return true;
            }
        }
        return false;
    }
}
